break, Control structures


Description:

break ends execution of the current for, while, do/while or switch structure.

Example
var i=0;
while (true) {
	i++;
	if (i==5)
		break;
}